﻿<Window x:Class="TicTacToe.UI.ClientConnectingWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Icon="..\3dtictactoe.png" Title="Connecting ..." Height="144" Width="339" 
        x:ClassModifier="internal" WindowStartupLocation="CenterScreen" Closing="Window_Closing">
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="27" />
            <RowDefinition Height="35"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        
        <Label Name="hostLabel" Content="Connecting to " FontWeight="Bold" Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <ProgressBar Grid.Row="1" Margin="40,6" IsIndeterminate="True" Orientation="Horizontal" />
        <Button Name="cancelButton" Content="Cancel" Grid.Row="2" Width="75" Height="23" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,6,6" Click="cancelButton_Click" />
        
    </Grid>
</Window>
